permit_sasl_authenticated
reject_unauth_destination
# NOTE: ne pas passer par SPFCheck / Postgrey si le mail n'est pas pour nous ou quelqu'un pour lequel on tient lieu de backup_mx
- check_policy_service unix:/run/postgrey/socket
+ check_policy_service unix:postgrey/socket
# NOTE: Postgrey (greylisting)
check_policy_service unix:private/spfcheck
permit_auth_destination
sv=${PWD#/etc/sv/}
install -d -m 2710 -o postgrey -g postfix \
- /run/postgrey
+ /var/spool/postfix/postgrey
exec /usr/bin/chpst \
-u "$sv":"$sv" \
--delay=65 \
--max-age=35 \
--privacy \
- --unix=/run/postgrey/socket
+ --unix=/var/spool/postfix/postgrey/socket